gtkgesturesingle: Unset button/sequence if parent handle_event failed
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 17 Oct 2014 19:12:44 +0000 (21:12 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 17 Oct 2014 19:16:56 +0000 (21:16 +0200)
commitcfaec2d2f542fc55947241765ac1f27e0c7b25e1
tree39796d1af8bbe0a82f2146bde74466f43df724e1
parente46d23d8193ddbf15482a2ed3fccbed762ba66ce
gtkgesturesingle: Unset button/sequence if parent handle_event failed

There are legit reasons for GtkGesture::handle_event to return FALSE,
GtkGestureSingle objects should be unsetting the current button/sequence
if that happens, in order to avoid inconsistent states.

https://bugzilla.gnome.org/show_bug.cgi?id=738591
gtk/gtkgesturesingle.c